#include <iostream>
#include "Observer.h"

int main()
{
	Subject subject;
	auto observer1 = std::make_shared<Observer>();
	auto observer2 = std::make_shared<Observer>();

	subject.attach(observer1);
	subject.attach(observer2);
	subject.setValue(42);

	return 0;
}